﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShevaEngine.Core.Modules.ArtificialIntelligence.Pathfinding
{
    /// <summary>Heuristic.</summary>
    public abstract class Heuristic
    {
        /// <summary>End node.</summary>
        public NavigationGraphNode EndNode;

        /// <summary>
        /// Method computes estimate cost.
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>
        public abstract float Estimate(NavigationGraphNode node);
    }
}
